package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallOrderRentDao;
import com.appkubes.mall.core.entity.MallOrderRent;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallOrderRentService extends AbstractBaseService<BaseMallOrderRentDao, MallOrderRent> {

    MallOrderRent getOneByEntity(MallOrderRent entity);

    List<MallOrderRent> selectListByEntity(MallOrderRent entity);

    IPage<MallOrderRent> selectPageByEntity(IPage<MallOrderRent> page);
    IPage<MallOrderRent> selectPageByEntity(PageVO pageVO);

    IPage<MallOrderRent> selectPageByEntity(MallOrderRent entity, IPage<MallOrderRent> page);
    IPage<MallOrderRent> selectPageByEntity(MallOrderRent entity, PageVO pageVO);

    IPage<MallOrderRent> selectPageByEntity(MallOrderRent entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallOrderRent entity);
}
